package com.dragon.mmochat.model.enumType;

public enum MmochatShowRoleSet {
	隐藏所有人(-1), 显示所有人(0), 只显示好友(1), 只显示队长(2);

	int value;

	MmochatShowRoleSet(int v) {
		value = v;
	}

	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}

	public static MmochatShowRoleSet get(int value) {
		for (MmochatShowRoleSet roleSet : MmochatShowRoleSet.values()) {
			if (roleSet.getValue() == value) {
				return roleSet;
			}
		}
		return null;
	}

}
